package com.bootdo.message.dao;

import com.bootdo.message.domain.MessageDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 

 * @author clq
 * @date 2018-05-08 13:31:38
 */
@Mapper
public interface MessageDao {

	MessageDO get(Long messageId);
	
	List<MessageDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(MessageDO message);
	
	int update(MessageDO message);
	
	int remove(Long message_id);
	
	int batchRemove(Long[] messageIds);
}
